package com.my.biz.domain;

import java.io.Serializable;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
 import java.lang.Integer;
 import java.lang.Long;
 import java.lang.String;
 import java.util.Date;
 /**
 * 
 * @描述： 实体Bean
 * 
 * @创建人： ch
 * 
 * @创建时间：2017年07月04日 21:10:39
 * 
 */
public class UserInfoDO implements Serializable {
	
	private static final long serialVersionUID = -7493303791091653291L;
	
    /**
     *
     */
	private Integer id;
	
    /**
     *用户编号
     */
	private String uid;
	
    /**
     *账号
     */
	private String account;
	
    /**
     *密码
     */
	private String password;
	
    /**
     *用户类型 0=体验用户|1=付费用户
     */
	private Integer type;
	
    /**
     *付费过期时间
     */
	private Long authExpireTime;
	
    /**
     *创建时间
     */
	private Date createTime;
	
    /**
     *更新时间
     */
	private Date updateTime;
	
	
	


	public UserInfoDO() {
		super();
	}
	
	

	public UserInfoDO(String account) {
		super();
		this.account = account;
	}

	

	public UserInfoDO(String account, String password) {
		super();
		this.account = account;
		this.password = password;
	}



	public UserInfoDO(String uid, String account, String password, Long authExpireTime) {
		super();
		this.uid = uid;
		this.account = account;
		this.password = password;
		this.authExpireTime = authExpireTime;
	}

	

	public void setId(Integer id){
		this.id = id;
	}
	
	public Integer getId(){
		return id;
	}
	
	public void setUid(String uid){
		this.uid = uid;
	}
	
	public String getUid(){
		return uid;
	}
	
	public void setAccount(String account){
		this.account = account;
	}
	
	public String getAccount(){
		return account;
	}
	
	public void setPassword(String password){
		this.password = password;
	}
	
	public String getPassword(){
		return password;
	}
	
	public void setType(Integer type){
		this.type = type;
	}
	
	public Integer getType(){
		return type;
	}
	
	public void setAuthExpireTime(Long authExpireTime){
		this.authExpireTime = authExpireTime;
	}
	
	public Long getAuthExpireTime(){
		return authExpireTime;
	}
	
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	
	public Date getCreateTime(){
		return createTime;
	}
	
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}
	
	public Date getUpdateTime(){
		return updateTime;
	}
	

	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}
}

